import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//导入饿了么
import '@/plugins/element.js'
import 'element-ui/lib/theme-chalk/index.css';

//导入样式
import '@/assets/css/global.css'

//导入axios
import axios from "axios"
Vue.prototype.axios=axios;
axios.defaults.headers.post['Content-Type']='applocation/json'

//导入qs
import qs from "querystring"
Vue.prototype.qs=qs;

//导入api
import api from '@/plugins/api' // 导入api接口
Vue.prototype.$api = api;

import base from '@/plugins/baseURL'; // 导入接口域名列表

Vue.prototype.$baseURL=base;
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
